package com.yang.news.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author: Billyang
 * @date: 2024/9/15 15:51
 */
@Getter
@AllArgsConstructor
public enum CacheKeyEnums {

    REMOTE_IP("remoteIp:", "远程IP地址","5");
    private final String key;

    private final String desc;

    private final String value;

    public String getKey(String more){
        return REMOTE_IP.getKey() + more;
    }
}
